﻿CREATE TABLE [dbo].[Users]
(
    [UserId] [int] IDENTITY(1000,1) NOT NULL,
	[UserName] [nvarchar](100) NOT NULL,
	[Email] [varchar](100) NOT NULL,
	[Comment] [text] NULL,
	[Enabled] [bit] NOT NULL,
	[DateCreated] [datetime] NOT NULL,
	[DateLastLogin] [datetime] NULL,
	[DateLastActivity] [datetime] NULL,
	[Balance] decimal(10,2) NOT NULL DEFAULT 0,
	[PayGet] decimal(10,2) NOT NULL DEFAULT 0,
	[PayOut] decimal(10,2) NOT NULL DEFAULT 0,
	[Incoming] decimal(10,2) NOT NULL DEFAULT 0
);
